text: Update action enabled state correctly
authorMatthias Clasen <mclasen@redhat.com>
Sat, 27 Jun 2020 02:13:12 +0000 (22:13 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 27 Jun 2020 02:13:12 +0000 (22:13 -0400)
commitc20a966f06256b1e8b8cc7663151a0a9760a0265
tree7ee7d0d86e716aedbc4e91ef4059de30701641d7
parent64db05d3dd6adcb5b01389634185fb7dee7b621f
text: Update action enabled state correctly

Take the editable property into account when updating
the emoji.insert action state, and update the action
when it changes.

Fixes: #2897
gtk/gtktext.c